package com.lanxiao.cloud.common.core.enums;

/**
 * @author ：qiaoliang
 * @date ：2021-08-26
 */
public enum StateEnum implements BaseEnum<StateEnum, Integer>{

  NORMAL(0, "正常"),
  ERROR(1, "异常");


  private final Integer value;

  private final String desc;

  StateEnum(Integer value, String desc) {
    this.value = value;
    this.desc = desc;
  }

  @Override
  public Integer getValue() {
    return value;
  }

  @Override
  public String getDesc() {
    return desc;
  }
}
